
using System;
using System.Drawing;

using IGGCore;

namespace IGGWindowApp.Data
{
    /// <summary>
    /// The stadium object for the window app
    /// It extends the core stadium object by adding graphical
    /// properties to it.
    /// </summary>
    public class WindowStadium : Stadium
    {
        private Image m_stadiumImageDay = null;
        private Image m_stadiumImageNight = null;
        private Image m_stadiumImageDusk = null;
        private Image m_stadiumImageRain = null;
        private Image m_stadiumImageEmpty = null;

        private Point[] m_stadiumDayPositions = new Point[13];
        private Point[] m_stadiumNightPositions = new Point[13];
        private Point[] m_stadiumDuskPositions = new Point[13];

        /// <summary>
        /// The positions of players label on the stadium image, daily version
        /// </summary>
        public Point[] StadiumDayPositions
        {
            get { return m_stadiumDayPositions; }
            set { m_stadiumDayPositions = value; }
        }

        /// <summary>
        /// The positions of players label on the stadium image, nightly version
        /// </summary>
        public Point[] StadiumNightPositions
        {
            get { return m_stadiumNightPositions; }
            set { m_stadiumNightPositions = value; }
        }

        /// <summary>
        /// The positions of players label on the stadium image, dusk version
        /// </summary>
        public Point[] StadiumDuskPositions
        {
            get { return m_stadiumDuskPositions; }
            set { m_stadiumDuskPositions = value; }
        }


        /// <summary>
        /// The stadium image for day game
        /// </summary>
        public Image StadiumImageDay
        {
            get { return m_stadiumImageDay; }
            set { m_stadiumImageDay = value; }
        }

        /// <summary>
        /// The stadium image for night game
        /// </summary>
        public Image StadiumImageNight
        {
            get { return m_stadiumImageNight; }
            set { m_stadiumImageNight = value; }
        }

        /// <summary>
        /// The stadium image for dusk game
        /// </summary>
        public Image StadiumImageDusk
        {
            get { return m_stadiumImageDusk; }
            set { m_stadiumImageDusk = value; }
        }

        /// <summary>
        /// The stadium image when it's raining
        /// </summary>
        public Image StadiumImageRain
        {
            get { return m_stadiumImageRain; }
            set { m_stadiumImageRain = value; }
        }

        /// <summary>
        /// The stadium image when empty
        /// </summary>
        public Image StadiumImageEmpty
        {
            get { return m_stadiumImageEmpty; }
            set { m_stadiumImageEmpty = value; }
        }
    }
}
